<!--
 * @Author: WangShuai 1830773767@qq.com
 * @Date: 2025-06-24 19:15:50
 * @LastEditors: WangShuai 1830773767@qq.com
 * @LastEditTime: 2025-06-24 19:57:03
 * @FilePath: \shangyitong\src\pages\wxlogin\index.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
	<!-- <h2>星光不问赶路人,岁月不负有心人</h2> -->
</template>

<script setup lang="ts">
import {SET_TOKEN} from '@/utils/user'
import { useRoute } from 'vue-router';
let $route = useRoute()
//持久化保存用户信息
SET_TOKEN(JSON.stringify($route.query))
//此路由组件代码执行:说明用户授权成功 直接隐藏此页面(取消重定向到该页面的效果)
let html:any = document.querySelector('html')
html.style.display = 'none';

</script>

<style lang="scss" scoped></style>
